/**
 * 
 */
package pt.mleiria.sAction.bo.stock;

import java.util.List;

import pt.mleiria.sAction.dao.stock.StockDAO;
import pt.mleiria.sAction.hibernate.Stock;

/**
 * @author Manuel
 *
 */
public class StockBOImpl implements StockBO {
	private StockDAO stockDAO;
	
	/**
	 * @return the stockDAO
	 */
	public StockDAO getStockDAO() {
		return stockDAO;
	}


	/**
	 * @param stockDAO the stockDAO to set
	 */
	public void setStockDAO(StockDAO stockDAO) {
		this.stockDAO = stockDAO;
	}


	/* (non-Javadoc)
	 * @see pt.mleiria.sAction.bo.stock.StockBO#getStockList(java.lang.String, java.lang.String, java.lang.String)
	 */
	public List<Stock> getStockList(String searchTicker, String market,
			String type) throws Exception {
		// TODO Mais tarde acrescentar o market e o type
		return stockDAO.getStockList(searchTicker, market, type);
	}

	
}
